/**
 *   yatce
 *   Copyright (C) 2009  UENISHI Kota <kuenishi+yatce@gmail.com>
 *
 *     This program is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU Lesser General Public License as published by
 *     the Free Software Foundation, either version 3 of the License, or
 *     (at your option) any later version.
 *
 *     This program is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU Lesser General Public License for more details.
 *
 *     You should have received a copy of the GNU Lesser General Public License
 *     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 **/
#ifndef TC_TABLE_OPERATION_H
#define TC_TABLE_OPERATION_H

#include <stdio.h>
#include <tcutil.h>
#include <tcadb.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>

int table_operations(int command, TCADB * table, char ** rbuf);

int tc_close( TCADB * adb, char ** rbuf );
int tc_iterinit(TCADB * adb, char ** rbuf);
int tc_iternext(TCADB * adb, char ** rbuf);
int tc_sync(  TCADB * adb, char ** rbuf );
int tc_vanish(TCADB * adb, char ** rbuf );
//int tc_path(  TCADB * adb, char ** rbuf );
int tc_rnum(  TCADB * adb, char ** rbuf );
int tc_size(  TCADB * adb, char ** rbuf );

#endif
